Summary 3
There are three ways to add styles to your document.
The style can be added directly to the HTML tag but is quite restricted. CSS styles can be embedded within the HTML text, too. Lastly, one .CSS style sheet can be used for multiple HTML pages by linking.
There are standards when it comes to CSS rule naming.
The core of a CSS rule consists of the selector and the declaration. The selector defines what element the rule selects while the declaration then breaks into a property and value. The property clarifies what part of the element that is being defined by the value.
Specialized contextual selectors can come in handy in specific situations.
Contextual selectors use ancestor tags for context, no matter how far "up" that tag may be. Specialized contextual selectors can be used to select its immediate parent or sibling. Adjacent and general siblings are examples of what can be specified.